package yushuman.rbac.domain.dto;

import yushuman.rbac.domain.enums.RoleDataScope;

/**
 * 数据传输对象类型-角色
 *
 * @author 俞舒熳
 * @since 2025/6/3 15:26
 */

public class RoleDto extends BaseDto {

    /**
     * 角色名称
     */
    public String name;
    /**
     * 角色数据访问范围
     */
    public RoleDataScope dataScope;

    public RoleDto() {
    }

    public RoleDto(String name, RoleDataScope dataScope) {
        this.name = name;
        this.dataScope = dataScope;
    }
}
